package com.qf.studentmanager.model;

import java.util.List;
import java.util.Map;

public class Teacher {
    private Integer tid;
    private String number;
    private String name;
    private String gender;
    private String phone;
    private  String qq;

    //这是在老师信息列表中最后一列课程，这列中展示老师教的年纪，班级，课程名。而且是叫多个{年纪，班级，课程}{年级，班级，课程} {年纪，班级，课程} {年纪，班级，课程}
    List<Map<String , Object>> courses ;

    String[] course ;

    public String[] getCourse() {
        return course;
    }

    public void setCourse(String[] course) {
        this.course = course;
    }

    public Teacher() {
    }

    public Teacher(Integer tid, String number, String name, String gender, String phone, String qq, List<Map<String, Object>> courses) {
        this.tid = tid;
        this.number = number;
        this.name = name;
        this.gender = gender;
        this.phone = phone;
        this.qq = qq;
        this.courses = courses;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public List<Map<String, Object>> getCourses() {
        return courses;
    }

    public void setCourses(List<Map<String, Object>> courses) {
        this.courses = courses;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tid=" + tid +
                ", number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", phone='" + phone + '\'' +
                ", qq='" + qq + '\'' +
                ", courses=" + courses +
                '}';
    }


}
